<!-- 打印界面 -->
<div style="width:1030px;">
    <#list list as ewbObj>
    <#if ewbObj_index != 0>
        <div style="page-break-after:always;"></div>
    </#if>
    <div style="width: 100%;float:left;">
    <img src="${pictureUrl} " width="200" alt="杭州凯立通信有限公司">
    <h3 style="text-align: center;height:80px;line-height:80px;width:100%;">${companyName}  托运单</h3>
    <!-- 条形码 -->
    <img style="float:right;" src="data:img/jpg;base64,${ewbObj.barcodeMsg}"/>
    </div>

    <div style="width: 100%;float:left;">
    <table style="width: 100%;">
        <tbody>
        <tr style="height:40px;">
            <td style="width:90px;" align="right">托运单号:</td><td style="width:100px;" align="left">${ewbObj.ewbNo!}</td>
            <td style="width:90px;" align="right">开单时间:</td><td style="width:220px;" align="left">${(ewbObj.ewbDate?string("yyyy-MM-dd HH:mm:ss"))!}</td>
            <td style="width:90px;" align="right">发货人:</td><td style="width:100px;" align="left">${ewbObj.sendCustomerName!}</td>
            <td style="width:90px;" align="right">重量(KG):</td><td style="width:80px;" align="left">${ewbObj.totalWeight!}</td>
            <td style="width:90px;" align="right">体积(m³):</td><td style="min-width:80px;" align="left">${ewbObj.totalVol!}</td>
        </tr>
        </tbody>
        <tbody>
            <tr style="height:40px;">
                <td align="right">发往:</td><td align="left"> ${ewbObj.cityName!}</td>
                <td align="right">到站网点:</td><td align="left"> ${ewbObj.dispatchSiteName!}</td>
                <td align="right">签回单:</td><td align="left">${ewbObj.rewb!}</td>
                <td align="right">件数:</td><td align="left">${ewbObj.totalPiece!}</td>
                <td align="right">总运费:</td><td align="left">${ewbObj.totalAmount!}</td>
            </tr>
        </tbody>
    </table>

    <br/>

    <table border="1" cellpadding="0" cellspacing="0" style="width:100%;text-align: center;">
        <thead>
        <tr style="height:50px;">
            <th style="width:16%;" align="center">货物</th>
            <th style="width:16%;" align="center">包装</th>
            <th style="width:16%;" align="center">件数</th>
            <th style="width:16%;" align="center">重量（KG）</th>
            <th style="width:16%;" align="center">体积（m³）</th>
            <th style="width:20%;" align="center" >运费</th>
        </tr>
        </thead>

        <tbody>
        <#list ewbObj.goodsList as goodsObj>
        <tr style="height:40px;">
            <td>${goodsObj.goodsName!}</td>
            <td>${goodsObj.packTypeName!}</td>
            <td>${goodsObj.piece!}</td>
            <td>${goodsObj.weight!}</td>
            <td>${goodsObj.vol!}</td>
            <td>${goodsObj.freightCharge!}</td>
        </tr>
        </#list>
        </tbody>
    </table>
    </div>
    <br/>

    </#list>
</div>